<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>&lt;%GLibOptionFlags&gt;: </title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.2">
<link rel="home" href="index.html" title="">
<link rel="up" href="ch01.html" title="GLib">
<link rel="prev" href="re45.html" title="&lt;%GLibOptionError&gt;">
<link rel="next" href="re47.html" title="&lt;GOptionGroup&gt;">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="re45.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="re47.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="id-1.1.47"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>&lt;%GLibOptionFlags&gt;</h2>
<p>&lt;%GLibOptionFlags&gt;</p>
</div>
<div class="refsect1">
<a name="id-1.1.47.2"></a><h2>Description</h2>
<p>Flags which modify individual options.</p>
</div>
<div class="refsect1">
<a name="id-1.1.47.3"></a><h2>Members</h2>
<div class="refsect2">
<a name="id-1.1.47.3.2"></a><h3>none</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_NONE</code></span></em></p>
<p>No flags. Since: 2.42.</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.3"></a><h3>hidden</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_HIDDEN</code></span></em></p>
<p>The option doesn't appear in <code class="code">--help</code> output.</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.4"></a><h3>in-main</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_IN_MAIN</code></span></em></p>
<p>The option appears in the main section of the
    <code class="code">--help</code> output, even if it is defined in a group.</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.5"></a><h3>reverse</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_REVERSE</code></span></em></p>
<p>For options of the <code class="constant">G_OPTION_ARG_NONE</code> kind, this
    flag indicates that the sense of the option is reversed.</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.6"></a><h3>no-arg</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_NO_ARG</code></span></em></p>
<p>For options of the <code class="constant">G_OPTION_ARG_CALLBACK</code> kind,
    this flag indicates that the callback does not take any argument
    (like a <code class="constant">G_OPTION_ARG_NONE</code> option). Since 2.8</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.7"></a><h3>filename</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_FILENAME</code></span></em></p>
<p>For options of the <code class="constant">G_OPTION_ARG_CALLBACK</code>
    kind, this flag indicates that the argument should be passed to the
    callback in the GLib filename encoding rather than UTF-8. Since 2.8</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.8"></a><h3>optional-arg</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_OPTIONAL_ARG</code></span></em></p>
<p>For options of the <code class="constant">G_OPTION_ARG_CALLBACK</code>
    kind, this flag indicates that the argument supply is optional.
    If no argument is given then data of <code class="constant">GOptionParseFunc</code> will be
    set to NULL. Since 2.8</p>
</div>
<div class="refsect2">
<a name="id-1.1.47.3.9"></a><h3>noalias</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_NOALIAS</code></span></em></p>
<p>This flag turns off the automatic conflict
    resolution which prefixes long option names with <code class="code">groupname-</code> if
    there is a conflict. This option should only be used in situations
    where aliasing is necessary to model some legacy commandline interface.
    It is not safe to use this option, unless all option groups are under
    your direct control. Since 2.8.</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>
